/*
 * Distances.h
 *
 *  Created on: Apr 28, 2010
 *      Author: Sequoyha
 */

#ifndef DISTANCES_H_
#define DISTANCES_H_

//Struct for holding Distances from Current Winery
class Distances
{
public:
	//CONSTRUCTORS---------------------------------------------------
	Distances();
	Distances(int, float);
	//SETTERS--------------------------------------------------------
	void setWinery(int);
	void setFromCurrent(float);
	//GETTERS--------------------------------------------------------
	int getWinery();
	float getFromCurrent();
	//FUNCTIONS & OPERATORS------------------------------------------
	bool operator < (const Distances& obj)const;
protected:
	int winery;			//Winery that distance is related to
	float fromCurrent;	//Distance from the winery this winery
};
#endif /* DISTANCES_H_ */
